<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        /**
         * 定义JSON对象格式
         * 大括号包裹，定义键值对，键必须是字符串类型，值的数据类型不限
         * 键值对用冒号隔开
         * 每个键值对之间用逗号分割
         */
        var jsonObeject = {"name":"yinzhong","xing":"song","age":28,"男":true}
        console.log(jsonObeject.name);
        console.log(jsonObeject.xing);
        console.log(jsonObeject.男);
        console.log(jsonObeject.age);
    </script>
</head>
<body>

</body>
</html>